Core Types

enum ee_status

EE Status enum definition.

Enumeration of different status codes for EEPROM operations.

Values:

enumerator EE_INFO_NOTSUPPORTED

Operation is not supported and API call has not effect

enumerator EE_INFO_CLEANUP_REQUIRED

Cleanup operation is recommended

enumerator EE_INFO_NOERASING_PAGE

no page to erase

enumerator EE_INFO_NODATA

No data found

enumerator EE_OK

The execution status is OK

enumerator EE_INVALID_PARAM

Invalid parameter

enumerator EE_INVALID_VIRTUALADDRESS

Invalid virtual address

enumerator EE_ERROR_CORRUPTION

eeprom data are corrupted and not possible to recover

enumerator EE_ERROR_ALGO

algo return an error, the operation has net been executed

enumerator EE_ERROR_ITF_FLASH

Error return by the flash interface

enumerator EE_ERROR_ITF_CRC

Error return by the crc interface

enumerator EE_ERROR_ITF_ECC

Error return by the ecc interface

enum ee_operation_status

EE operation status value.

Values:

enumerator EE_OPERATION_NONE

no operation

enumerator EE_OPERATION_ONGOING

operation ongoing

enumerator EE_OPERATION_COMPLETE

operation successfully complete

enumerator EE_OPERATION_ERROR

operation error

enum ee_erase_type

Type of page erasing.

Values:

enumerator EE_FORCED_ERASE

pages to erase are erased unconditionally

enumerator EE_CONDITIONAL_ERASE

pages to erase are erased only if not fully erased

typedef void ( * ee_operation_callback_t ) ( ee_operation_status )

Define the callback prototype to receive an operation status.

struct ee_object_t
#include <eeprom_emul_core.h>

EE object containing the peripheral information.

Public Members

void * f_object

pointer to flash handle

void * crc_object

pointer to crc handle

void * time_object

pointer to time handle